#include "ssi.h"
#include "SSI_Consumer.h"

using namespace ssi_frame;
class MotionTrigger :
	public SSI_Consumer, public Trigger
{
public:
	MotionTrigger(int time_long,int wert_zahl,ssi_real_t left,
		ssi_real_t right,
		ssi_real_t up,
		ssi_real_t bottom);

	virtual ~MotionTrigger();

	void consume (SSI_Consumer::info consume_info,
		ssi_size_t stream_in_num,
		ssi_stream stream_in[]);

protected:

	bool _trigger_on;
	int _time_long, _wert_zahl;

	ssi_time_t _trigger_start, _trigger_stop;
	ssi_real_t _left, _right, _up, _bottom;
};
